//
//  WDTaskFlowModel.h
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/8/29.
//

#import "TYZBaseModel.h"
#import "WDInspectUploadModel.h"

NS_ASSUME_NONNULL_BEGIN

/// 工单流程
@interface WDTaskFlowModel : TYZBaseModel

/// 创建时间
@property (nonatomic, copy) NSString *createTime;

/// 工程师id
@property (nonatomic, assign) NSInteger engineerId;

/// 工程师名称
@property (nonatomic, copy) NSString *engineerName;

/// 工程师联系电话
@property (nonatomic, copy) NSString *engineerPhone;

@property (nonatomic, assign) NSInteger id;

/// 扫码 地址
@property (nonatomic, copy) NSString *scanAddress;
@property (nonatomic, assign) float scanAddressHeight;

/// 扫码 维度
@property (nonatomic, strong) NSNumber *scanLatitude;

/// 扫码 经度
@property (nonatomic, strong) NSNumber *scanLongitude;

/// 操作类型 0.抢单 1.扫码接车 2.开始维修 3.回站维修 4.继续维修 5.完成维修 6.提交报单
@property (nonatomic, assign) NSInteger servOperate;

/// 工单id
@property (nonatomic, assign) NSInteger taskId;

/// 更新时间
@property (nonatomic, copy) NSString *updateTime;

/// 处理说明
@property (nonatomic, copy) NSString *workExplain;
@property (nonatomic, assign) float workExplainHeight;

/// 处理方式
@property (nonatomic, copy) NSString *workResult;

/// 所有图片地址
@property (nonatomic, strong) NSArray<WDInspectUploadModel *> *photoList;

/// 所有视频地址
@property (nonatomic, strong) NSArray<WDInspectUploadModel *> *videoList;

/// 文件数组
@property (nonatomic, strong) NSMutableArray<WDInspectUploadModel *> *files;
@property (nonatomic, assign) float filesHeight;

/// 其他文件数组
@property (nonatomic, strong) NSMutableArray<WDInspectUploadModel *> *otherFiles;
@property (nonatomic, assign) float otherFilesHeight;
@property (nonatomic, assign) float imageWidth;
@property (nonatomic, assign) float imageHeight;

/// 完成
@property (nonatomic, strong) NSMutableArray<WDInspectUploadModel *> *finishFiles;
@property (nonatomic, assign) float finishFilesHeight;


/// 本流程总的高度
@property (nonatomic, assign) float flowHeight;

@end

NS_ASSUME_NONNULL_END
